package com.xiaozheng.service.impl;

import com.xiaozheng.service.AccountService;
import org.springframework.stereotype.Service;

/**
 * @Package: com.xiaozheng.service.impl
 * @ClassName: AccountServiceImpl
 * @Author: 小政同学    QQ:xiaozheng666888@qq.com
 * @CreateTime: 2020/10/18 15:34
 * @What_is_this_file_for: 账户的业务层实现类
 * @Description: 描述
 */
@Service(value = "accountService")
public class AccountServiceImpl implements AccountService {
    /**
     * 模拟账户保存
     */
    @Override
    public void saveAccount() {
        System.out.println("执行了保存");
    }

    /**
     * 模拟更新账户
     *
     * @param i
     */
    @Override
    public void updateAccount(int i) {
        System.out.println("执行了更新"+i);
    }

    /**
     * 删除账户
     */
    @Override
    public int deleteAccount() {
        System.out.println("执行了删除");
        return 0;
    }
}
